package com.arqui.admmon_module.client.action;

import com.gwtplatform.dispatch.shared.ActionImpl;
import com.arqui.admmon_module.client.action.HistoricLoadResult;

import java.util.Date;

public class HistoricLoad extends ActionImpl<HistoricLoadResult> {

	private Date startDate;
	private Date endDate;
	
	@Override
	public boolean isSecured() {
		return false;
	}

	@SuppressWarnings("unused")
	private HistoricLoad() {
		// For serialization only
	}

	public HistoricLoad(Date startDate, Date endDate) {
		this.startDate = startDate;
		this.endDate = endDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public Date getEndDate() {
		return endDate;
	}
}
